package net.diaowen.dwsurvey.service;

import java.util.List;

import net.diaowen.common.service.BaseService;
import net.diaowen.dwsurvey.entity.SurveyGroup;

public interface SurveyGroupManager extends BaseService<SurveyGroup, String>{

	public void adminSave(String surveyId,String groupId);
	
	public List<SurveyGroup> findListBySurveyId(String surveyId);
	
	public List<SurveyGroup> findListByGroupId(String groupId);

	public boolean checkGroupPermission(String surveyId,String studentId);

	public void removeBySurveyId(String surveyId);

	public Long getCountBySurveyIdAndStudentId(String surveyId,String orgId, String studentId);

	public List<Object[]> getGroupWinUser(String surveyId);

	public void sendWixinNotify(String surveyId,String userName,String surveyName);

	void sendGroupWixinNotify(String toUser, String userName, String getNotifications);
}
